<%@ page contentType="text/html; charset=UTF-8"%>
<%@page import="org.apache.commons.lang.StringUtils"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html>
<html>
<head>
<%
String responsive = request.getParameter("responsive");
System.out.println("responsive="+responsive);
if(StringUtils.isNotBlank(responsive)){
	request.getSession().setAttribute("responsive", responsive);
}else{
	request.getSession().setAttribute("responsive", "n");
}
%>

<meta property="qc:admins" content="325045366760117751756727" />
<meta property="wb:webmaster" content="28e244326adb6a77" />
<%@ include file="/resource/common_html_meat.jsp"%>
<%@ include file="/resource/common_css.jsp"%>
<style type="text/css">
.left_product{
	font-size: 12px;max-height: 35px;overflow: hidden;text-overflow: ellipsis;-o-text-overflow: ellipsis;
}
img{border: 0px;}

img.err-product {
<%if(StringUtils.isNotBlank(SystemManager.systemSetting.getDefaultProductImg())){%>
background: url(<%=SystemManager.systemSetting.getDefaultProductImg()%>) no-repeat 50% 50%;
<%}%>
}
.lazy {
  display: none;
}
</style>
<script>
function defaultProductImg(){ 
	var img=event.srcElement; 
	img.src="<%=SystemManager.systemSetting.getDefaultProductImg()%>"; 
	img.onerror=null; //控制不要一直跳动 
}
</script>
</head>

<body >
	<%@ include file="/indexMenu.jsp"%>

	<%--<div class="container" style="max-width: 1280px;">--%>
		<%--<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">--%>
			<%--<!-- Indicators -->--%>
			<%--<ol class="carousel-indicators">--%>
				<%--<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>--%>
				<%--<li data-target="#carousel-example-generic" data-slide-to="1"></li>--%>
				<%--<li data-target="#carousel-example-generic" data-slide-to="2"></li>--%>
			<%--</ol>--%>

			<!-- Wrapper for slides -->
			<%--<div class="carousel-inner" role="listbox">--%>
				<%--<div class="item active">--%>
					<%--<img src="http://dress-cart.oss-cn-hangzhou.aliyuncs.com//attached/image/20160630/1467271387310_3.png" alt="...">--%>
					<%--<div class="carousel-caption">--%>
						<%--...--%>
					<%--</div>--%>
				<%--</div>--%>
				<%--<div class="item">--%>
					<%--<img src="http://dress-cart.oss-cn-hangzhou.aliyuncs.com//attached/image/20160630/1467271387310_3.png" alt="...">--%>
					<%--<div class="carousel-caption">--%>
						<%--...--%>
					<%--</div>--%>
				<%--</div>--%>
				<%--<div class="item">--%>
					<%--<img src="http://dress-cart.oss-cn-hangzhou.aliyuncs.com//attached/image/20160630/1467271387310_3.png" alt="...">--%>
					<%--<div class="carousel-caption">--%>
						<%--...--%>
					<%--</div>--%>
				<%--</div>--%>

				<%--<s:iterator value="#application.indexImages" status="i" var="row"><!-- height="180" width="100%" -->--%>
				<%--<s:if test="i.getFirst()==true">--%>
				<%--<div class="item active">--%>
				<%--</s:if>--%>
				<%--<s:else>--%>
				<%--<div class="item">--%>
				<%--</s:else>--%>
					<%--<s:if test="link!=null">--%>
						<%--<a href="<s:property escape="false" value="link"/>" target="_blank">--%>
							<%--<img style="max-width: 100%;"--%>
								 <%--src="<%=SystemManager.systemSetting.getImageRootPath()%><s:property escape="false" value="picture"/>" >--%>
						<%--</a>--%>
					<%--</s:if>--%>
					<%--<s:else>--%>
						<%--<img style="max-width: 100%;"--%>
							 <%--src="<%=SystemManager.systemSetting.getImageRootPath()%><s:property escape="false" value="picture"/>" >--%>
					<%--</s:else>--%>
				<%--</div>--%>
				<%--</s:iterator>--%>

			<%--</div>--%>

			<!-- Controls -->
			<%--<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">--%>
				<%--<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>--%>
				<%--<span class="sr-only">Previous</span>--%>
			<%--</a>--%>
			<%--<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">--%>
				<%--<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>--%>
				<%--<span class="sr-only">Next</span>--%>
			<%--</a>--%>
		<%--</div>--%>
	<%--</div>--%>

	<div class="container" >
		<div class="row">
			<!-- 左侧导航栏、热卖商品、文章、事项 -->
			<%--<div class="col-xs-3">--%>
				<%--<%@ include file="/catalog_superMenu.jsp"%>--%>
				<%--</br>--%>
				<%--<%@ include file="productlist_left_picScroll.jsp"%>--%>
			<%--</div>--%>
			<!-- 右侧。滚动图片、新闻活动、首页商品展示 -->
			<div class="col-xs-12">
				<%--<div class="row">--%>
					<%--<div class="col-xs-12">--%>
							<div class="row" style="border:0px solid red;padding: 0 5px;">
								<%@ include file="/index_center_slide.jsp"%>
							</div>
					<%--</div>--%>

					<%--<div class="col-xs-3">--%>
							<%--<div class="row" style="border:0px solid red;padding: 0 5px;">--%>
								<%--<%@ include file="/index_notice_slide.jsp"%>--%>
							<%--</div>--%>
					<%--</div>--%>
				<%--</div>--%>
				
<!-- 				<div class="row" style="display: none;"> -->
<!-- 					<div class="col-md-12"> -->
<%-- 						<%@ include file="/index_center_picBtn_slide.jsp"%> --%>
<!-- 					</div> -->
<!-- 				</div> -->
				
				<!-- 轮播插件展示商品-->
<!-- 				<div class="row" style="margin-top: 0px;display: none;"> -->
<!-- 					<div class="col-md-12"> -->
<%-- 						<%@ include file="/index_product_slide2.jsp"%> --%>
<%-- 						<%@ include file="/index_product_slide.jsp"%> --%>
<!-- 					</div> -->
<!-- 				</div> -->
				
				<%String indexProductListUrl = "index_productList.jsp?queryType=hot";%>
				<jsp:include flush="true" page="<%=indexProductListUrl %>"></jsp:include>
				
				<%indexProductListUrl = "index_productList.jsp?queryType=sale";%>
				<jsp:include flush="true" page="<%=indexProductListUrl %>"></jsp:include>
				
				<%indexProductListUrl = "index_productList.jsp?queryType=newest";%>
				<jsp:include flush="true" page="<%=indexProductListUrl %>"></jsp:include>
<%-- 				<%@ include file="/index_productList.jsp?queryType=hot"%> --%>
			</div>
			
		</div>
	</div>
	<%@ include file="foot.jsp"%>
	<%@ include file="index_superSlide_js.jsp"%>
<script>
$(function() {
	//商品鼠标移动效果
//	$("div[class=thumbnail]").hover(function() {
//		$(this).addClass("thumbnail_css");
//	}, function() {
//		$(this).removeClass("thumbnail_css");
//	});
	
});
</script>
</body>
</html>
